WPGraphQL\Utils\QueryAnalyzer C

Total Complexity 104
Dependencies 14
Dependents 2
Total lines 738
Lines of code 341
Logical lines of code 224
Comment lines 251
Methods 18
Properties 13

Methods 18

Method Rating Maintainability Complexity Lines of code
get_graphql_keys()
B
38 22 65
set_list_types()
B
38 20 68
set_query_types()
A
42 13 52
set_query_models()
A
43 11 47
show_query_analyzer_in_extensions()
S
56 7 16
get_operation_name()
S
58 7 15
determine_graphql_keys()
S
59 5 14
track_nodes()
S
61 5 11
get_headers()
S
66 4 8
init()
S
58 2 15
get_query_models()
S
80 1 3
get_runtime_nodes()
S
75 1 4
get_root_operation()
S
82 1 3
get_request()
S
82 1 3
get_query_id()
S
82 1 3
get_query_types()
S
80 1 3
get_list_types()
S
80 1 3
__construct()
S
68 1 8